package com.nbsaas.boot.boot3;

import com.nbsaas.boot.rest.response.ResponseObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "userApp", contextId = "userApp")
public interface UserApi {


    @PostMapping(value = "/message")
    ResponseObject<String> message(@RequestParam("message") String message);
}
